package com.bawei.rk_01.Adapter

import com.bawei.base.utils.bean.LqCoupons
import com.bawei.rk_01.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class LqCouponsAdapter : BaseQuickAdapter<LqCoupons, BaseViewHolder>(R.layout.item_lqcoupons) {
    override fun convert(holder: BaseViewHolder, item: LqCoupons) {
        holder.setText(R.id.tv1,"￥"+item.money)
        holder.setText(R.id.tv3,item.startTime.substring(0,9)+"-"+item.endTime.substring(0,9))
    }
}